package com.zzl.service;

import com.zzl.entiey.PsGoods;

import java.util.List;

/**
 * @ClassName: GoodsService
 * @Description: GOOD
 * @author: ZZL
 * @date: 2021/7/7  14:17
 */
public interface GoodsService {

    List<PsGoods> findAllGoodsByType(String goodsType);

    PsGoods findGoodsByName(String goodsName);

    Integer findGoodsNumber(String goodsName);

    List<PsGoods> findAllGoods();

    void editGoods(PsGoods psGoods);

    void deletedGoodsByGoodsName(String goodsName);

    void insertGoods(PsGoods psGoods);
}
